package com.gpt.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.lang.reflect.Array;

/**
 * 文章大纲对象 gpt_gen_outline
 * 
 * @author zhuzi
 * @date 2023-11-26
 */
public class GptGenOutline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 大纲id */
    private Long id;

    /** 大纲名称 */
    @Excel(name = "大纲名称")
    private String name;

    /** 大纲内容 */
    private String contentOutline;
//    private Array outlineArray;

    /** 状态（0正常，1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常，1停用")
    private String status;

    /** 使用大纲条数，随机模式 */
    private Integer useNum;


    /** 使用模型 */
    @Excel(name = "使用模型")
    private String useModel;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContentOutline(String contentOutline) 
    {
        this.contentOutline = contentOutline;
    }

    public String getContentOutline() 
    {
        return contentOutline;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUseNum(Integer useNum) 
    {
        this.useNum = useNum;
    }

    public Integer getUseNum() 
    {
        return useNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("contentOutline", getContentOutline())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .append("useNum", getUseNum())
            .toString();
    }

    public String getUseModel() {
        return useModel;
    }

    public void setUseModel(String useModel) {
        this.useModel = useModel;
    }
}
